package com.bci.pwtz.mysql.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bci.pwtz.mysql.model.GeoCode;

public interface GeoCodeMapper {
    int deleteByPrimaryKey(Long gbCode);

    int insert(GeoCode record);

    int insertSelective(GeoCode record);

    GeoCode selectByPrimaryKey(Long gbCode);

    int updateByPrimaryKeySelective(GeoCode record);

    int updateByPrimaryKey(GeoCode record);
    
    List<GeoCode> selectGeoCodes(@Param("parent")Long parent);
    
    List<GeoCode> selectGeoCodesByLevel(@Param("grade")String grade);
}